package com.testfileupload.uploadimg.design.builder.car;

import com.testfileupload.uploadimg.design.builder.car.builder.BenzBuilder;
import com.testfileupload.uploadimg.design.builder.car.builder.CarBuilder;
import com.testfileupload.uploadimg.design.builder.car.model.BenzModel;
import com.testfileupload.uploadimg.design.builder.car.model.CarModel;

import java.util.ArrayList;
import java.util.List;

public class Client {
    public static void main(String[] args) {
//        ArrayList<String> list = new ArrayList<>();
//        list.add("start");
//        list.add("stop");
//        list.add("engineBoom");
//        list.add("alerm");
//        BenzBuilder carBuilder = new BenzBuilder();
//        carBuilder.setSequence(list);
//        CarModel carModel = carBuilder.getCarModel();
//        carModel.run();

        Director director = new Director();
        BenzModel benzModelA = director.getBenzModelA();
        benzModelA.run();
    }
}
